package test916;

import java.util.Scanner;

public class myDowhile {
    public static void main(String[] args) {
        int  x = 1;
        int sum = 0;
        do {
            System.out.println("i = " + x);
            sum = sum + x;
            x++;
        }while(x <= 10);
        System.out.println("sum = " + sum);
    }
}
